From: Eli Zaretskii Date: Sat, 5 Apr 2025 12:09:20 +0000 (+0300) Subject: ; Fix a recent backport X-Git-Tag: archive/raspbian/1%30.2+1-2+rpi1^2~2^2~24^2~156 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=684adc07c28ce96b8da1fa2bea31dbf0c8833d92;p=emacs.git ; Fix a recent backport * lisp/progmodes/typescript-ts-mode.el (treesit-node-child-by-field-name, treesit-node-match-p) (treesit-node-type): Declare. Do not merge to master. --- diff --git a/lisp/progmodes/typescript-ts-mode.el b/lisp/progmodes/typescript-ts-mode.el index 871dbc2e3dc..b4b078950c3 100644 --- a/lisp/progmodes/typescript-ts-mode.el +++ b/lisp/progmodes/typescript-ts-mode.el @@ -38,6 +38,9 @@ (declare-function treesit-parser-create "treesit.c") (declare-function treesit-query-capture "treesit.c") (declare-function treesit-query-compile "treesit.c") +(declare-function treesit-node-child-by-field-name "treesit.c") +(declare-function treesit-node-match-p "treesit.c") +(declare-function treesit-node-type "treesit.c") (defcustom typescript-ts-mode-indent-offset 2 "Number of spaces for each indentation step in `typescript-ts-mode'."